
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Courier New', Courier, monospace;
    background-color: white;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f2ab;
    padding: 10px 20px;
    flex-wrap: wrap; /* helps on small screens */
}

.logo {
    width: 70px;
    height: 70px;
}

/* NAVIGATION */

ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

ul li {
    list-style: none;
    margin: 0 10px;
    padding: 8px 5px;
    border-radius: 8px;
    transition: 0.3s;
}

ul li:hover {
    background-color: #e69b00;
}

a {
    text-decoration: none;
    color: #e47200;
    padding: 8px 12px;
    display: block;
    transition: 0.3s;
}

a:hover {
    color: black;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
/* Tablet */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center; /* <-- center everything */
        text-align: center;
    }

    ul {
        justify-content: center; /* <-- center nav */
        width: 100%;
    }

    ul li {
        margin: 5px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    ul {
        flex-direction: column;
        align-items: center; /* <-- center items */
        width: 100%;
    }

    ul li {
        width: 100%;
        text-align: center;
    }

    a {
        width: 100%;
        text-align: center;
    }
}

.herosection{
    height: 80vh;
    background-image: url("herosection.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.herosection h1{
    color: #ff7b00;
    padding: 180px 50px;
    max-width: 700px;
    font-size: 40px;
}

/* SECTION TITLES */

.container-home,
.perfume-text,
#contact{
    text-align: center;
    margin: 25px;
    color: #e47200;
    font-size: 30px;
}

/* FACTS SECTION */

.homepage{
    background-color: #fffe97;
}

.facts{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.fact{
    width: 250px;
    min-height: 220px;
    background-color: #e69b00;
    color: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

/* PERFUMES */

.container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
}

.allperfumes{
    width: 320px;
    
}

.perfume-images{
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
}

.allperfumes h3{
    margin-bottom: 10px;
}

/* TEXT BOXES */

.text-62,
.text-68,
.text-40,
.text-71,
.text-59,
.text-39,
.text-48,
.text-67,
.text-76,
.text-87,
.text-91,
.text-cb,
.text-lg,
.text-rp{
    width: 100%;
    padding: 15px;
    border-radius: 20px;
}

.text-62{background:#ffe97f;}
.text-68{background:#ffb2c5;}
.text-40{background:#e26072;}
.text-71{background:#906644;}
.text-59{background:#924dbf; color:white;}
.text-39{background:#78b8a3;}
.text-48{background:#ff647b;}
.text-67{background:#e6b400;}
.text-76{background:#0077b6; color:white;}
.text-87{background:#e8e337;}
.text-91{background:#f67a6a;}
.text-cb{background:#ffb2c5;}
.text-lg{background:#fffe97;}
.text-rp{background:#96eee5;}

/* ABOUT US */

.about-us{
    background-color: #e69b00;
    color: white;
    border-radius: 15px;
    padding: 20px;
    margin: 20px;
    text-align: center;
}

.about-us p{
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-us-img{
    width: 100%;
    max-width: 350px;
    height: 240px;
    border-radius: 15px;
    margin: 10px;
}

/* CONTACT */

.contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
}

.contact input,
.contact textarea{
    width: 90%;
    max-width: 450px;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.contact textarea{
    height: 120px;
    resize: none;
}

.contact button{
    background-color: #e69b00;
    color: white;
    border: none;
    padding: 12px 20px;
    width: 200px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.contact button:hover{
    background-color: #c78300;
}

/* FOOTER */

footer{
    background-color: #e69b00;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    border-radius: 20px 20px 0 0;
}

.footer-img{
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto 20px;
}

footer h3{
    margin-bottom: 15px;
}

footer p{
    max-width: 900px;
    margin: 10px auto;
    line-height: 1.6;
}

/* MOBILE */

@media (max-width: 768px){

    header{
        flex-direction: column;
    }

    ul{
        justify-content: center;
        margin-top: 10px;
    }

    .herosection{
        height: 60vh;
    }

    .herosection h1{
        font-size: 28px;
        padding: 100px 20px;
        text-align: center;
    }

    .container-home,
    .perfume-text,
    #contact{
        font-size: 24px;
    }

    .allperfumes{
        width: 90%;
    }

    .fact{
        width: 90%;
    }
}
.perfume-text{
    text-align: center;
    margin: 25px;
    color: #e69b00;
    font-size: 30px;
}
